<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>GL.iNet 路由器帮助文档</title>
    <style>
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI',
          'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
          'Helvetica Neue', Helvetica, Arial, sans-serif;
        background-color: #f5f5f5;
        color: #333;
      }

      .container {
        display: flex;
        min-height: 100vh;
      }

      /* 左侧导航栏 */
      .sidebar {
        width: 250px;
        background: white;
        border-right: 1px solid #e8e8e8;
        padding: 20px 0;
      }

      .sidebar h3 {
        padding: 0 20px 10px;
        color: #1890ff;
        font-size: 16px;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 10px;
      }

      .nav-item {
        padding: 8px 20px;
        cursor: pointer;
        transition: all 0.3s;
        border-left: 3px solid transparent;
      }

      .nav-item:hover {
        background-color: #f0f8ff;
      }

      .nav-item.active {
        background-color: #f0f8ff;
        border-left-color: #1890ff;
        color: #1890ff;
      }

      .nav-subitem {
        padding: 6px 20px 6px 40px;
        font-size: 14px;
        color: #666;
      }

      /* 主内容区域 */
      .main-content {
        flex: 1;
        padding: 20px;
        background: white;
        margin: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      }

      .page-title {
        font-size: 24px;
        color: #666;
        margin-bottom: 20px;
        font-weight: 300;
      }

      .page-description {
        font-size: 16px;
        line-height: 1.6;
        color: #666;
        margin-bottom: 30px;
      }

      /* 帮助项目 */
      .help-item {
        margin-bottom: 24px;
        padding: 20px;
        background: #fafafa;
        border-radius: 6px;
        border-left: 4px solid #1890ff;
      }

      .help-item h4 {
        font-size: 18px;
        color: #1890ff;
        margin-bottom: 12px;
        font-weight: 600;
      }

      .help-row {
        display: flex;
        align-items: center;
        gap: 12px;
      }

      .help-row p {
        margin: 0;
        font-size: 14px;
        color: #666;
        line-height: 1.5;
      }

      .help-row strong {
        color: #333;
        font-weight: 600;
      }

      .btn-link {
        background: none;
        border: none;
        color: #1890ff;
        cursor: pointer;
        text-decoration: underline;
        font-size: 14px;
        padding: 0;
      }

      .btn-link:hover {
        color: #40a9ff;
      }

      hr {
        border: none;
        height: 1px;
        background: #e8e8e8;
        margin: 20px 0;
      }

      /* 响应式设计 */
      @media (max-width: 768px) {
        .container {
          flex-direction: column;
        }

        .sidebar {
          width: 100%;
          border-right: none;
          border-bottom: 1px solid #e8e8e8;
        }

        .main-content {
          margin: 10px;
          padding: 15px;
        }
      }
    </style>
  </head>
  <body>
    <div class="container">
      <!-- 左侧导航栏 -->
      <div class="sidebar">
        <h3>帮助文档</h3>
        <div class="nav-item active">网络设置</div>
        <div class="nav-item">开机</div>
        <div class="nav-item">连接</div>
        <div class="nav-item">访问管理页面</div>
        <div class="nav-item">联网方式</div>
        <div class="nav-subitem">1. 以太网</div>
        <div class="nav-subitem">协议</div>
        <div class="nav-subitem">2. 中继</div>
        <div class="nav-subitem">3. 热点共享</div>
        <div class="nav-subitem">4. 蜂窝网络</div>
        <div class="nav-item">无线</div>
        <div class="nav-item">客户端</div>
      </div>

      <!-- 主内容区域 -->
      <div class="main-content">
        <h1 class="page-title">帮助文档</h1>
        <p class="page-description">
          GL.iNet 路由器帮助文档，提供详细的配置说明和使用指南。
        </p>

        <div class="help-item">
          <h4>修改 WAN 以太网物理网口模式</h4>
          <div class="help-row">
            <p>
              位于菜单 <strong>【网络设置】-【工作模式】</strong>, 点击前往:
            </p>
            <button class="btn-link" onclick="alert('跳转到工作模式页面')">
              工作模式
            </button>
          </div>
        </div>

        <hr />

        <div class="help-item">
          <h4>更多配置说明</h4>
          <div class="help-row">
            <p>移步浏览：</p>
            <button
              class="btn-link"
              onclick="window.open('https://gitee.com', '_blank')"
            >
              使用说明
            </button>
          </div>
        </div>
      </div>
    </div>

    <script>
      // 简单的导航交互
      document.querySelectorAll('.nav-item').forEach((item) => {
        item.addEventListener('click', function () {
          // 移除所有active类
          document
            .querySelectorAll('.nav-item')
            .forEach((nav) => nav.classList.remove('active'));
          // 添加active类到当前项
          this.classList.add('active');
        });
      });
    </script>
  </body>
</html>
